//
//  TravelBestCell.m
//  W.E.S.T
//
//  Created by xalo on 16/7/14.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "TravelBestCell.h"

@interface TravelBestCell ()
@property (weak, nonatomic) IBOutlet UIImageView *photo;
@property (weak, nonatomic) IBOutlet UILabel *title;

@property (weak, nonatomic) IBOutlet UILabel *username;

@end
@implementation TravelBestCell

- (void)awakeFromNib {
    // Initialization code
}
//重写方法
- (void)setCellWithModel:(TravelModel *)model{
    [self.photo sd_setImageWithURL:[NSURL URLWithString:model.photo]];
    self.title.text=model.title;
    self.username.text=model.username.description;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
